package com.zebra.gateway;

import cn.hutool.core.util.StrUtil;
import lombok.*;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SourceProperties {
    private String ipOut;
    private String ipIn;
    private int inner;
    private String registerAddr;

    public boolean isNull(){
        return StrUtil.isEmpty(this.ipIn)
                || StrUtil.isEmpty(this.ipOut)
                || StrUtil.isEmpty(this.registerAddr) ? true : false;
    }
}
